Release 10.1A: OpenEdge Development:
AppBuilder
Creating extended features (XFTRs)
An
XFTRis a code block that you write to customize the behavior of AppBuilder. There are two uses forXFTRs:An
XFTRcan be self-modifying; that is, change itself based on user action. Figure C–4 shows a sampleXFTR.
Figure C–4: XFTR in browser.w template
This code does not, by itself, perform any customized processing. However, it points to other 4GL procedures (
adm2/support/_wizard.w and adm2/support/_wizdel.p) that do perform customized processing. AppBuilder calls these procedures when significant AppBuilder events occur; for example, when a design window is realized or code is generated. Consequently, these procedures are calledXFTRevent handlers. AnXFTRcan reference up to five such procedures for AppBuilder events (see Table C–3).As this example illustrates, an
XFTRhas five sections:The following sections explain how to set up these sections.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |